import React, { Component } from 'react';
import {RouteComponentProps} from 'react-router-dom';

interface Iprops extends RouteComponentProps{
    match:any
}

class VoteList extends Component <Iprops>{

    componentDidMount(){
        console.log(this.props.match.params.type)
    }

    render() {
        return (
            <div>
                VoteList
            </div>
        );
    }
}

export default VoteList;